package com.xuyl.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xuyl.domain.User;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author nisemono
 * @date 2023-02-27 19:16
 */
@Mapper
public interface UserDao extends BaseMapper<User> {

    /**
     * 撤销删除的操作的sql，即将deleted置为0
     *
     * @param id
     * @return
     */
    int updateDeletedById(Integer id);
}
